[LegacyColorValue = true]; 

{ TSMImpliedInterest : Implied Interest Rates
   Copyright 1999, P.J.Kaufman. All rights reserved.

   This program calculates the implied interest rate based
 	on the difference between two price series, e.g., spot
	and forward gold, or two forward contracts. User
	inputs the number of months between the maturities.

   Inputs:	price1 is the nearby price series
			price2 is the deferred price series
			nmonths is the number of months between the two }

	inputs: nmonths(3);

	plot1(TSMImpliedInterest(close of data1,close of data2,nmonths), "TSMimplied");